package cn.basic.social.api.utils;

import java.util.HashMap;
import java.util.Map;

/**
 * @ClassName RequestParametersHolder
 * @Description API请求参数容器
 * @Author zlf
 * @Date 2023/8/25 11:36
 */
public class RequestParametersHolder {

    private String requestUrl;
    private String responseBody;
    private byte[] responseBytes;
    private Map<String, String> responseHeaders = new HashMap<String, String>();

    /**
     * 添加协议级请求参数
     */
    private Map<String, String> protocalMustParams;

    private Map<String, String> applicationParams;

    public String getRequestUrl() {
        return requestUrl;
    }

    public void setRequestUrl(String requestUrl) {
        this.requestUrl = requestUrl;
    }

    public String getResponseBody() {
        return responseBody;
    }

    public void setResponseBody(String responseBody) {
        this.responseBody = responseBody;
    }

    public byte[] getResponseBytes() {
        return responseBytes;
    }

    public void setResponseBytes(byte[] responseBytes) {
        this.responseBytes = responseBytes;
    }

    public Map<String, String> getResponseHeaders() {
        return responseHeaders;
    }

    public void setResponseHeaders(Map<String, String> responseHeaders) {
        this.responseHeaders = responseHeaders;
    }

    public Map<String, String> getProtocalMustParams() {
        return protocalMustParams;
    }

    public void setProtocalMustParams(Map<String, String> protocalMustParams) {
        this.protocalMustParams = protocalMustParams;
    }

    public Map<String, String> getApplicationParams() {
        return applicationParams;
    }

    public void setApplicationParams(Map<String, String> applicationParams) {
        this.applicationParams = applicationParams;
    }
}
